import layoutHeaderAside from '@/layout/header-aside'

const meta = { requiresAuth: true }

export default {
  path: '/form/',
  name: 'form',
  meta,
  redirect: { name: 'form-form1' },
  component: layoutHeaderAside,
  children: (pre => [
    { path: 'form1', name: `${pre}form1`, component: () => import('@/pages/formList/form1'), meta: { ...meta, title: '表单一' } },
    { path: 'form2', name: `${pre}form2`, component: () => import('@/pages/formList/form2'), meta: { ...meta, title: '表单二' } },
    { path: 'form3', name: `${pre}form3`, component: () => import('@/pages/formList/form3'), meta: { ...meta, title: '表单三' } },
    { path: 'form4', name: `${pre}form4`, component: () => import('@/pages/formList/form4'), meta: { ...meta, title: '表单四' } },
    { path: 'form5', name: `${pre}form5`, component: () => import('@/pages/formList/form5'), meta: { ...meta, title: '表单五' } },
    { path: 'form6', name: `${pre}form6`, component: () => import('@/pages/formList/form6'), meta: { ...meta, title: '表单六' } },
    { path: 'form7', name: `${pre}form7`, component: () => import('@/pages/formList/form7'), meta: { ...meta, title: '表单七' } },
    { path: 'form8', name: `${pre}form8`, component: () => import('@/pages/formList/form8'), meta: { ...meta, title: '表单八' } },
    { path: 'form9', name: `${pre}form9`, component: () => import('@/pages/formList/form9'), meta: { ...meta, title: '表单九' } },
    { path: 'form10', name: `${pre}form10`, component: () => import('@/pages/formList/form10'), meta: { ...meta, title: '表单十' } },
    { path: 'form11', name: `${pre}form11`, component: () => import('@/pages/formList/form11'), meta: { ...meta, title: '表单十一' } },
    { path: 'form12', name: `${pre}form12`, component: () => import('@/pages/formList/form12'), meta: { ...meta, title: '表单十二' } },
    { path: 'form13', name: `${pre}form13`, component: () => import('@/pages/formList/form13'), meta: { ...meta, title: '表单十三' } },
    { path: 'form14', name: `${pre}form14`, component: () => import('@/pages/formList/form14'), meta: { ...meta, title: '表单十四' } },
    { path: 'form15', name: `${pre}form15`, component: () => import('@/pages/formList/form15'), meta: { ...meta, title: '表单十五' } },
    { path: 'form16', name: `${pre}form16`, component: () => import('@/pages/formList/form16'), meta: { ...meta, title: '表单十六' } }
  ])('form-')
}
